﻿namespace IceCS.DesignPattern.Core.BridgePattern.ColorShape
{
    public class Circle : Shape
    {
        public Circle(int radius, int x, int y, IDrawAPI drawApi) : base(drawApi)
        {
            X = x;
            Y = y;
            Radius = radius;
        }

        public int X { get; set; }

        public int Y { get; set; }

        public int Radius { get; set; }

        public override void Draw()
        {
            DrawApi.DrawCircle(Radius, X, Y);
        }
    }
}
